package com.itheima.pinda.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 司机表
 * </p>
 *
 * @author itcast
 * @since 2019-12-20
 */
@Data
@TableName("pd_truck_driver")
public class PdTruckDriver implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "用户id，来自用户表")
    private String userId;

    @ApiModelProperty(value = "所属车队id")
    private String fleetId;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "驾龄")
    private Integer drivingAge;


}
